package cate.game.role.farm.pk.msg;

import cate.game.client.msg.ClientMsg;
import cate.game.client.msg.MsgConfig;
import cate.game.client.msg.MsgOutput;
import cate.game.client.msg.id.MsgIdBPK;
import easy.java.dev.note.NoteField;

@ClientMsg(title = "切磋 の 战斗结果返回")
public class PkResultResp implements MsgOutput {

    @NoteField(value = "是否胜利")
    public boolean win;

    public PkResultResp() {}

    @Override
    public MsgConfig conf() {
        return MsgIdBPK.CHALLENGE_RESULT_RESP;
    }
    public PkResultResp(boolean win) {
        this.win = win;

    }
}
